package com.llf.Blog.Service;

import com.llf.Blog.Pojo.Tag;
import com.baomidou.mybatisplus.extension.service.IService;


import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author llf
 * @since 2021-08-07
 */
public interface TagService extends IService<Tag> {
    Tag getById(Long id);
    List<Tag> getAll();
    Boolean insertTag(Tag tag);
    Boolean update(Tag tag);
    Boolean deleteById(long id);
    Tag  getByName(String name);

}
